package com.exchange.websocket.common.utils.redis;

import org.apache.commons.lang3.StringUtils;
import org.springframework.util.Assert;

public class RedisConstant {

    public static class EXPIRE_TIMES {

        public static final long MINUTES_ONE = 60l;//一分钟

        public static final long MINUTES_FIVE = 5 * 60l;//五分钟

        public static final long MINUTES_TEN = 10 * 60l;//十分钟

        public static final long MINUTES_FIFTEEN = 15 * 60l;//十分钟

        public static final long MINUTES_THIRTY = 30 * 60l;//三十分钟

        public static final long HOURS_ONE = 60 * 60l;//一小时

        public static final long HOURS_TWO = 2 * 60 * 60l;//两小时

        public static final long DAYS_ONE = 24 * 60 * 60l;//一天

        public static final long WEEKS_ONE = 7 * 60 * 60l;//一周

        public static final long MONTHS_ONE = 30 * 24 * 60 * 60l;//一月

        public static final long YEARS_ONE = 365 * 24 * 60 * 60l;//一年

    }


}
